package com.iwhalecloud.citybrain.flow.platform.manager.domain.repository;

import java.util.List;

import com.iwhalecloud.citybrain.flow.platform.manager.domain.model.notice.FlowReTaskNoticeChannelVo;

/**
 * @author lilh
 * @date 2019-07-11 16:23
 */
public interface FlowReTaskNoticeChannelRepository {

    /**
     * 新增
     *
     * @param entity 实体
     * @return 记录数
     */
    int insertFlowReTaskNoticeChannel(FlowReTaskNoticeChannelVo entity);


    /**
     * 查询列表
     *
     * @param reTimeoutSettingId 查询条件
     * @return 列表
     */
    List<FlowReTaskNoticeChannelVo> listFlowReTaskNoticeChannel(Long reTimeoutSettingId);
}
